package com.hgc.consumerrabbit.mapper;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

import java.util.Date;

@Mapper
public interface consumerMapper {

    @Insert("insert into consumer(type,consumerTime) values(#{type},#{date})")
    public void insert(String type,Date date);
}
